package com.example.demo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.demo.dao.GridProvinceDao;
import com.example.demo.pojo.GridProvince;
import com.example.demo.service.IGridProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Primary
public class GridProvinceServiceImpl implements IGridProvinceService {

    @Autowired
    private GridProvinceDao gridProvinceDao;

    @Override
    public List<GridProvince> listGridProvinceAll() {
        return gridProvinceDao.selectList(null);
    }
}
